package com.groupbuying.settleproducer.service;

import com.groupbuying.settleproducer.domain.SettleUshopWithdrawalDO;
import com.groupbuying.settleproducer.utils.apiresult.ApiResult;

import java.util.List;
import java.util.Map;

/**
 * 提现申请总信息表
 *
 * @author WANGNING
 * @email wyn20140226@aliyun.com
 * @date 2019-05-13 01:53:15
 * @des 够样优店-总提现接口
 */

public interface SettleUshopWithdrawalService {

    SettleUshopWithdrawalDO get(String withdrawalId);

    List<SettleUshopWithdrawalDO> list(Map<String, Object> map);

    int count(Map<String, Object> map);

    int save(SettleUshopWithdrawalDO settleWithdrawal);

    int update(SettleUshopWithdrawalDO settleWithdrawal);

    int remove(String withdrawalId);

    int batchRemove(String[] withdrawalIds);
    /**
     * @des 提现业务总接口
     * @date 2019/6/3
     * @param map
     * @return com.groupbuying.settleproducer.utils.apiresult.ApiResult
     */
    ApiResult createWithdrawal(Map<String, Object> map);

}
